package com.test.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * 人力资源(HrInfo)实体类
 *
 * @author makejava
 * @since 2022-11-12 11:01:47
 */
public class HrInfo implements Serializable {
    private static final long serialVersionUID = -55235046165111913L;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 工号
     */
    private String hrNo;
    /**
     * 密码
     */
    private String password;
    /**
     * 姓名
     */
    private String realName;
    /**
     * 联系电话
     */
    private String celPhone;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 注册时间
     */
    @DateTimeFormat(pattern = "YYYY-MM-dd HH-mm-ss")
    private String createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHrNo() {
        return hrNo;
    }

    public void setHrNo(String hrNo) {
        this.hrNo = hrNo;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getCelPhone() {
        return celPhone;
    }

    public void setCelPhone(String celPhone) {
        this.celPhone = celPhone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "HrInfo{" +
                "id=" + id +
                ", hrNo='" + hrNo + '\'' +
                ", password='" + password + '\'' +
                ", realName='" + realName + '\'' +
                ", celPhone='" + celPhone + '\'' +
                ", email='" + email + '\'' +
                ", createTime='" + createTime + '\'' +
                '}';
    }
}

